package SinglyList;

public class PolySinglyListTest {
    public static void main(String[] args) {
        PolySinglyList<TermX> t1 = new PolySinglyList<TermX>("9-3x^2+2x^3+3x^6+8x^7+9x^8");
        PolySinglyList<TermX> t2 = new PolySinglyList<TermX>("-4+3x^2+3x^4+7x^5+200x^100");
        System.out.println("t1"+t1);
        System.out.println("t2"+t2);
        t1.addAll(t2);
        System.out.println("合并后t1"+t1);
    }
}
